package com.ocss.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ocss.common.annotation.Excel;
import com.ocss.common.core.domain.BaseEntity;

/**
 * 学期信息对象 ocss_semester
 *
 * @author ligen
 * @date 2024-03-05
 */
public class OcssSemester extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 学期id
     */
    private Long id;

    /**
     * 学期名称
     */
    @Excel(name = "学期名称")
    private String semesterName;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSemesterName(String semesterName) {
        this.semesterName = semesterName;
    }

    public String getSemesterName() {
        return semesterName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("semesterName", getSemesterName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
